package pe.edu.upc.dsd.l33t.dao;

import java.util.List;
import pe.edu.upc.dsd.l33t.model.*;

public interface BookDao {
	
	
	//SELECT
	Book find(String isbn);
		
	List<Book> findAll();
	
	List<Book> getFiveLatestBooks();
	
	List<Book> getBooksByTitle(String title);
	
	List<Book> getBooksByAuthor(String author);
	
	List<Book> getBooksByCategory(String category);
	
	//INSERT
	void save(Book book);
	
	//UPDATE
	void update(Book book);

	//DELETE
	void delete(Book book);


}
